projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45bb4dc
)
printing: cairo-pdf is needed
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 3 Jan 2021 16:24:26 +0000
(11:24 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 4 Jan 2021 02:34:04 +0000
(21:34 -0500)
The print backends need cairos pdf support, which is
contingent on zlib, so enable that when using cairo
as a subproject, as we do in ci for MacOS.
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index e8d6841116ab4d02797c4d7e2127f97b29d4844f..c84653c263c24543551c1b7be6d6c4f8a655306e 100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-348,7
+348,8
@@
endif
gmodule_dep = dependency('gmodule-2.0', version: glib_req,
fallback : ['glib', 'libgmodule_dep'])
cairo_dep = dependency('cairo', version: cairo_req,
- fallback : ['cairo', 'libcairo_dep'])
+ fallback : ['cairo', 'libcairo_dep'],
+ default_options: ['zlib=enabled'])
cairogobj_dep = dependency('cairo-gobject', version: cairo_req,
fallback : ['cairo', 'libcairogobject_dep'])
pango_dep = dependency('pango', version: pango_req,